package com.beverages.individual.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.beverages.individual.entity.Individual;
import com.beverages.individual.entity.dto.IndividualDTO;
import com.beverages.individual.entity.dto.IndividualPasswordDTO;

public interface IIndividualService extends IService<Individual> {

    IndividualDTO convertIndividualEntityToIndividualDTO(Individual individual);

    IndividualDTO login(IndividualDTO userDTO);

    Individual register(IndividualDTO userDTO);

    void updatePassword(IndividualPasswordDTO userPasswordDTO);

}
